package com.ncst.backend.service;

import com.ncst.backend.domain.Department;
import java.util.List;

/**
 * 科室服务接口
 */
public interface DepartmentService {
    Department getById(Integer id);
    List<Department> getAll();
    List<Department> getByCondition(Department department);
    List<Department> getByPage(Integer pageNum, Integer pageSize);
    Long countAll();
    Long countByCondition(Department department);
    boolean save(Department department);
    boolean saveBatch(List<Department> list);
    boolean updateById(Department department);
    boolean removeById(Integer id);
    boolean removeByIds(List<Integer> ids);
}
